package com.dashu.base.enums.school;

import com.dashu.base.enums.common.functionAM.PersonnelAM;

import java.util.HashMap;
import java.util.Map;

public enum SchoolType {

    UNIVERSITY("大学"),
    HIGH_SCHOOL("高中"),
    MIDDLE_SCHOOL("初中"),
    PRIMARY_SCHOOL("小学"),
    KINDERGARTEN("幼儿园");


    private String name;

    SchoolType(String name) {
        this.name = name;
    }

    public static final Map<String, SchoolType> map = new HashMap<>();

    static {
        for (SchoolType s : SchoolType.values()) {
            map.put(s.name(), s);
        }
    }

}
